<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
  <!-- 这个页面中不要包含有js!!! -->
  </head>  
  <body>
  	<!-- 验证还是jquery-validation好用，这里省事没用 -->
	<form class="picForm" id="picForm" method="post">
		<input type="hidden" name="pictureId" id="pictureId">
		<table class="autable">
		<tr>
				<td class="autd1">序  号：</td>
				<td class="autd2"><input name="sortNo" style="width:150px" validType="length[1,10]" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			
			</tr>
			<tr>
				<td class="autd1">名  称：</td>
				<td class="autd2"><input name="pictureName" style="width:150px" validType="length[2,30]" class="easyui-validatebox txt" required="true"><span class="red">*</span></td>
			
			</tr>
			<tr>
			
				<td class="autd1">上传图片：</td>
				<td class="autd2"><input name="pictureUrl" id="pictureUrl" class="txt" style="width:150px;color: #ccc;" readonly="readonly" onclick="uploadFile('pictureUrl');"></td>
			</tr>
			<tr>
			
				<td class="autd1">描述：</td>
				<td class="autd2" ><textarea name="pictureInfo" class="txtarea"></textarea></td>
			</tr>
			
			
			<tr>
			
				<td class="autd1">备注：</td>
				<td class="autd2" ><textarea name="remark" class="txtarea"></textarea></td>
			</tr>
			<tr>
				<td class="autd3" colspan="2">
					<a href="#" id="btn-back" onclick="$('#MyPopWindow').window('close');" class="easyui-linkbutton" iconCls="icon-cancel">取消</a>
					<a href="#" id="btn-add" onclick="addOrUpdatePicture('${param.update}');" class="easyui-linkbutton" iconCls="icon-save">保存</a>
				</td>
			</tr>
		</table>
	</form>
  </body>
</html>
